actor Classic: Inventory
{
    inventory.amount 0
    inventory.maxamount 1
}

actor Arcade: Inventory
{
    inventory.amount 0
    inventory.maxamount 1
}

actor Crosshair: Inventory
{
    inventory.amount 0
    inventory.maxamount 1
}

actor PowerClassicDurability : PowerProtection
{
  damagefactor "Bullet", 0.5
  damagefactor "Shotgun", 0.5
  damagefactor "Sniper", 0.5
  damagefactor "Rifle", 0.5
  damagefactor "LMG", 0.5
  damagefactor "BigPistol", 0.5
  damagefactor "Fire", 0.5
  damagefactor "Normal", 0.5
  damagefactor "Slime", 0.5
}

actor ClassicDurability : PowerupGiver
{
  inventory.maxamount 0
  powerup.type "ClassicDurability"
  powerup.duration 9999999
  +AUTOACTIVATE
  states
  {
  Spawn:
    TNT1 A -1
    stop
  }
}

actor PowerClassicDamage : PowerDamage
{
  damagefactor "Bullet", 0.5
  damagefactor "Shotgun", 0.5
  damagefactor "Sniper", 0.5
  damagefactor "Rifle", 0.5
  damagefactor "LMG", 0.5
  damagefactor "BigPistol", 0.5
  damagefactor "Explosion", 0.5
}

actor ClassicDamage : PowerupGiver
{
  inventory.maxamount 0
  powerup.type "ClassicDamage"
  powerup.duration 9999999
  +AUTOACTIVATE
  states
  {
  Spawn:
    TNT1 A -1
    stop
  }
}

actor ArcadeXP1 : CustomInventory
{
  +COUNTITEM
  +INVENTORY.AUTOACTIVATE
  +INVENTORY.ALWAYSPICKUP
  Inventory.PickupMessage "Experience!"
  Inventory.Amount 1
  Mass 4
  States{
  Spawn:
    AXP1 AB 5 BRIGHT
    Loop
  Pickup:
	AXP1 A 0 A_JumpIfInventory("Rank", 15, "FailState")
	AXP1 A 0 A_JumpIfInventory("InLastStand", 1, "FailState")
	AXP1 A 0 A_GiveInventory("Experience",1)
	AXP1 A 0 ACS_ExecuteAlways(616,0,0,0,0) // check if gained level
	stop
  FailState:
    AXP1 A 0 
	fail
  }
}

actor ArcadeXP10 : CustomInventory
{
  +COUNTITEM
  +INVENTORY.AUTOACTIVATE
  +INVENTORY.ALWAYSPICKUP
  Inventory.PickupMessage "Experience!"
  Inventory.Amount 1
  Mass 20
  States{
  Spawn:
    AXP2 AB 5 BRIGHT
    Loop
  Pickup:
	AXP2 A 0 A_JumpIfInventory("Rank", 15, "FailState")
	AXP2 A 0 A_JumpIfInventory("InLastStand", 1, "FailState")
	AXP2 A 0 A_GiveInventory("Experience",10)
	AXP2 A 0 ACS_ExecuteAlways(616,0,0,0,0) // check if gained level
	stop
  FailState:
    AXP2 A 0 
	fail
  }
}